package com.dao;

import com.model._do.EquipmentDO;
import com.model._do.SignUpDO;
import com.model._do.UserDO;
import com.model.dto.SignedSearchDTO;
import com.model.dto.SignedUpDTO;
import com.model.dto.SuperviseDTO.Search.EquipSearch;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
@Repository("equipDAO")
public interface EquipDAO {

    public EquipmentDO getEquipmentByEquipId(@Param("equipId") String equipId);

    public List<EquipmentDO> selectNearEquip(HashMap<String, String> hashMap);

    public List<EquipmentDO> signedWithMeDoctor(UserDO user);

    public List<EquipmentDO> equipSearch(EquipSearch search);

    public void doUpdateName(EquipmentDO equipment);

    public void doUpdateId(EquipmentDO equipment);

    public void doUpdateLocation(EquipmentDO equipment);

    public void doUpdateSex(EquipmentDO equipment);
}
